import React from 'react'
import './style.less'

export default class LifeText extends React.Component {
  render() {
    const lifeTitle = this.props.lifeTitle
    const lifeText = this.props.lifeText
    return(
      <div className='text-box'>
        <h2>{ lifeTitle }</h2>
        <div>
          { lifeText }
        </div>
      </div>
    )
  }
}
